package com.lt.schoolchat.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户视图
 *
 * @TableName user
 */
@Data
@ApiModel("用户VO")
public class UserVO implements Serializable {
    @ApiModelProperty("用户id")
    private Long id;
    @ApiModelProperty("用户昵称")
    private String userName;
    @ApiModelProperty("用户账号")
    private String userAccount;
    @ApiModelProperty("用户头像")
    private String userAvatar;
    @ApiModelProperty("用户性别 0-男 1-女")
    private Integer gender;
    @ApiModelProperty("用户角色 user、admin、ban")
    private String userRole;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    private static final long serialVersionUID = 1L;
}
